<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:php="http://php.net/xsl" xmlns="http://www.w3.org/1999/xhtml">
	<xsl:template name="DevelopperTools">	
		<xsl:if test="//Statics/Sls/Configs/site/isProd = 0 and //Statics/Sls/Session/params/param[name='current_side']/value = 'user' and count(//Statics/Sls/Http/params/param[name='SlsQuick']) = 0 or (count(//Statics/Sls/Http/params/param[name='SlsQuick']) &gt; 0 and //Statics/Sls/Http/params/param[name='SlsQuick']/value != 'iFrame')">	
			<!--  and //Statics/Sls/Http/params/param[name='genericmode']/value != //Statics/Sls/Http/params/param[name='genericmodebo']/value  -->
			<div id="SLS_DevelopperToolbar" class="sls_dt">
				<span class="sls_dt_open">SLS Developper Toolbar</span>
				<div class="sls_dt_container">
					<ul class="sls_dt_main_menu">
						<li class="first">
							<span class="section">Http</span>
							<ul class="sls_dt_sub_menu">
								<xsl:if test="count(//Statics/Sls/Http/params/param[@method = 'GET']) &gt; 0"> 
									<li>
										GET
										<ul class="sls_dt_side_menu">
											<xsl:for-each select="//Statics/Sls/Http/params/param[@method = 'GET']" >
												<li>
													<xsl:value-of select="name" />
													<ul class="sls_dt_side_menu">
														<li><xsl:value-of select="value" /></li>
													</ul>
												</li>
											</xsl:for-each>
										</ul>
									</li>
								</xsl:if>
								<xsl:if test="count(//Statics/Sls/Http/params/param[@method = 'POST']) &gt; 0"> 
									<li>
										POST
										<ul class="sls_dt_side_menu">
											<xsl:for-each select="//Statics/Sls/Http/params/param[@method = 'POST']" >
												<li>
													<xsl:value-of select="name" />
													<ul class="sls_dt_side_menu">
														<li><xsl:value-of select="value" /></li>
													</ul>
												</li>
											</xsl:for-each>
										</ul>
									</li>
								</xsl:if>
								<xsl:if test="count(//Statics/Sls/Http/params/param[@method = 'FILES']) &gt; 0"> 
									<li>
										FILES
										<ul class="sls_dt_side_menu">
											<xsl:for-each select="//Statics/Sls/Http/params/param[@method = 'FILES']" >
												<li>
													<xsl:value-of select="name" />
													<ul class="sls_dt_side_menu">
														<li><xsl:value-of select="value" /></li>
													</ul>
												</li>
											</xsl:for-each>
										</ul>
									</li>
								</xsl:if>
								<xsl:if test="count(//Statics/Sls/Http/params/param[@method = 'SLS']) &gt; 0"> 
									<li>
										SLS
										<ul class="sls_dt_side_menu">
											<xsl:for-each select="//Statics/Sls/Http/params/param[@method = 'SLS']" >
												<li>
													<xsl:value-of select="name" />
													<ul class="sls_dt_side_menu">
														<li><xsl:value-of select="value" /></li>
													</ul>
												</li>
											</xsl:for-each>
										</ul>
									</li>
								</xsl:if>
							</ul>
						</li>
						<li>
							<span class="section">Session</span>
							<ul class="sls_dt_sub_menu">
								<xsl:for-each select="//Statics/Sls/Session/params/param" >
									<li>
										<xsl:value-of select="name" />
										<ul class="sls_dt_side_menu">
											<li><xsl:value-of select="value" /></li>
										</ul>
									</li>
								</xsl:for-each>
							</ul>
						</li>
						<li>
							<span class="section">Cookies</span>
							<ul class="sls_dt_sub_menu">
								<xsl:for-each select="//Statics/Sls/Cookie/item">
									<li>
										<xsl:value-of select="@name" />
										<ul class="sls_dt_side_menu">
											<xsl:for-each select="params/param" >
												<li>
													<xsl:value-of select="name" />
													<ul class="sls_dt_side_menu">
														<li><xsl:value-of select="value" /></li>
													</ul>
												</li>
											</xsl:for-each>
										</ul>
									</li>
								</xsl:for-each>
							</ul>
						</li>
						<li class="sls_dt_bo_links">
							<span class="section">Bo</span>
							<xsl:value-of select="php:functionString('SLS_BoRights::getDistinctActions','xml')" disable-output-escaping="yes" />
						</li>
					</ul>
				</div>
			</div>
		</xsl:if>		
	</xsl:template>
</xsl:stylesheet>